(sgml-tag): Default skeleton-transformation to `identity'.
authorMike Williams <mdub@bigfoot.com>
Tue, 14 May 2002 09:50:19 +0000 (09:50 +0000)
committerMike Williams <mdub@bigfoot.com>
Tue, 14 May 2002 09:50:19 +0000 (09:50 +0000)
lisp/textmodes/sgml-mode.el

index b7b2eecfe6468fe4148bfffdae4b96d2d2e65a57..58aec14b48bc3c8c1703c7a5499e06ba04410e2b 100644 (file)
@@ -571,8 +571,8 @@ Completion and configuration are done according to `sgml-tag-alist'.
 If you like tags and attributes in uppercase do \\[set-variable]
 skeleton-transformation RET upcase RET, or put this in your `.emacs':
   (setq sgml-transformation 'upcase)"
-  (funcall skeleton-transformation
-          (completing-read "Tag: " sgml-tag-alist))
+  (funcall (or skeleton-transformation 'identity)
+           (completing-read "Tag: " sgml-tag-alist))
   ?< str |
   (("") -1 '(undo-boundary) (identity "&lt;")) |       ; see comment above
   `(("") '(setq v2 (sgml-attributes ,str t)) ?>